package com.winona.ui;

import java.util.ArrayList;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup.LayoutParams;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.ImageButton;
import android.widget.ListView;
import android.widget.TextView;

import com.taplinker.client.R;
import com.winona.Base1Activity;
import com.winona.HomeActivity;
import com.winona.adapter.ListViewAdpter;

public class SensitiveActivity extends Base1Activity {
	private ListView lv;
	private ImageButton bt_back;
	private View menu;
	private View content;
	private LayoutParams params;
	private TextView title;
	private Intent intent;

	private ArrayList<String> contentStrings = new ArrayList<String>(); // 数据源
	private ListViewAdpter adapter; // 适配器

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.inport_news);
		findView();
		 Animation animRef = AnimationUtils.loadAnimation(this, R.anim.anim1);
		setLinstener();
		
		title.setText("敏感肌肤");

	}

	private void setLinstener() {

		bt_back.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				intent = new Intent(SensitiveActivity.this, HomeActivity.class);
				startActivity(intent);
				overridePendingTransition(R.anim.input, R.anim.out);
			}
		});
	}

	private void findView() {

		bt_back = (ImageButton) findViewById(R.id.btn_left);
		title = (TextView) findViewById(R.id.tv_title);
	}

}
